.zan-header {
  z-index: 1030;
  background-color: #fff;
  height: 51px;
  position: fixed;
  top: 0;
  left: 240px;
  right: 0;
  border-bottom: 1px solid #e7e7e7;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.zan-sidebar-toggle {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: #666666;
  padding-left: 15px;
  padding-right: 15px;
}
.zan-header-center {
  /* IE */
  -ms-overflow-style: none;
  /* 火狐 */
  scrollbar-width: none;
  overflow-x: auto;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.zan-header-center::-webkit-scrollbar {
  display: none;
}

.zan-nav-item {
  line-height: 50px;
  height: 50px;
  padding: 0 15px;
  color: #333;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.zan-nav-item > a,
.zan-nav-item > a:hover,
.zan-nav-item > a:focus {
  text-decoration: none;
  color: #333;
}

.zan-avatar-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-right: 15px;
  padding-left: 15px;
}

.zan-avatar {
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.zan-search {
  font-size: 20px;
  cursor: pointer;
  color: #666666;
}

/* 导航条的下拉框样式覆盖一下 */
.zan-header .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 0;
}

/* 扩大下拉菜单 */
.zan-header .dropdown-menu > li > a {
  padding-top: 5px;
  padding-bottom: 5px;
}

@media screen and (max-width: 1200px) {
  .zan-header {
    left: 0;
  }
  .zan-sidebar-toggle {
    display: inline-block;
    margin-bottom: 3px;
  }

  .zan-nav-item:first-child {
    padding-left: 0;
  }
  .zan-nav-item:last-child {
    padding-right: 0;
  }
}
/* --------------------------./顶部导航条新加头像--------------------------------- */
.zan-breadcrumb {
  position: fixed;
  top: 51px;
  left: 240px;
  right: 0;
  z-index: 1029;
}

.zan-breadcrumb .breadcrumb {
  margin-bottom: 0;
  background-color: #fff;
  border-radius: 0;
  border-bottom: 1px solid #e7e7e7;
}
.zan-breadcrumb .breadcrumb > li > a {
  text-decoration: none;
}
@media screen and (max-width: 1200px) {
  .zan-breadcrumb {
    left: 0;
  }
}
/* --------------------------./面包屑--------------------------------- */

.zan-main {
  padding-left: 240px;
  padding-bottom: 15px;
  padding-top: 102px;
}
.zan-aside {
  z-index: 1032;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background-color: #fff;
  border-right: 1px solid #e7e7e7;
}
/* 品牌 */
.zan-brand {
  height: 51px;
  border-bottom: 1px solid #e7e7e7;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.zan-brand>a,.zan-brand>a:hover,.zan-brand>a:focus{
  text-decoration: none;
  color: #5f6f81;
  font-weight: bold;
}

.zan-sidebar,
.zan-sidebar ul,
.zan-sidebar li {
  padding: 0;
  margin: 0;
  list-style: none;
}
.zan-sidebar{
  position: absolute;
  top: 51px;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
/* 顶级下边框线 */
.zan-sidebar > li {
  border-bottom: 1px solid #e7e7e7;
}

/* 所有的有子集里面的li也加上线条 */
.zan-sidebar li.haschildren > ul > li {
  border-top: 1px solid #e7e7e7;
}

/* 鼠标滑过背景色改变 */
.zan-sidebar li.haschildren > ul > li:hover {
  background-color: #f6f6f6;
}
/* 所有的li增加行内距 */
.zan-sidebar li {
  line-height: 40px;
}

/* 修改所有li下面的a标签颜色 */
.zan-sidebar li a {
  color: #5f6f81;
  text-decoration: none;
}

/* 顶级左间距 */
.zan-sidebar > li > a {
  margin-left: 15px;
}

/* 子集左间距,预估值 */
.zan-sidebar .zan-submenu > li > a {
  margin-left: 45px;
}
/* 左侧图标处理一下否则无法对齐 */
.zan-sidebar > li > a > span {
  margin-right: 15px;
}

/* 子集隐藏 */
.zan-sidebar .zan-submenu {
  display: none;
}

/* 有子集的给个箭头 */
.zan-sidebar li.haschildren > a:after {
  position: absolute;
  right: 15px;
  font-family: "Glyphicons Halflings";
  content: "\e260";
  color: #cccccc;
  -webkit-transition: -webkit-transform 0.2s linear;
  transition: -webkit-transform 0.2s linear;
  transition: transform 0.2s linear;
  transition: transform 0.2s linear, -webkit-transform 0.2s linear;
}

/* 有子元素加open就展开 */
.zan-sidebar li.haschildren.open > ul {
  display: block;
}

/* 展开旋转箭头 */
.zan-sidebar li.haschildren.open > a:after {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

/* 小于等于1200px */
@media screen and (max-width: 1200px) {
  .zan-aside {
    top: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .zan-main {
    padding-left: 0;
  }
  /* 遮罩层 */
  .zan-mask {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    opacity: 0.8;
    filter: alpha(opacity=50);
  }
  /* 开启 */
  .zan-aside.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
/* --------------------------./右侧菜单和内容主体部分--------------------------------- */
/* zan自定义面板 */
.zan-panel-default {
  border-radius: 0;
}

.zan-panel-default .panel-heading {
  background-color: #ffffff;
}
